//
//  LPActivityDetailInforModel.m
//  LovingPartyBuilding
//
//  Created by 刘应平 on 2017/6/8.
//  Copyright © 2017年 刘应平. All rights reserved.
//

#import "LPActivityDetailInforModel.h"

@implementation LPActivityDetailInforModel
- (void)setDESCRIPTION:(NSString *)DESCRIPTION{
    _DESCRIPTION = DESCRIPTION;
    self.HEIGHT = [CalculateLabelHeight calculateLabeHeightWithString:[NSString stringWithFormat:@"%@",DESCRIPTION] font:16 * [UIScreen zj_textFontScale] width:[UIScreen zj_screenWith] - 20 * [UIScreen zj_screenWScale] space:4 * [UIScreen zj_screenHScale]];
}

- (void)setNAME:(NSString *)NAME{
    _NAME = NAME;
    self.NAMEHEIGHT = [CalculateLabelHeight calculateLabeHeightWithString:NAME font:18 * [UIScreen zj_textFontScale] width:[UIScreen zj_screenWith] - 20 * [UIScreen zj_screenWScale] space:3 * [UIScreen zj_screenHScale]];
}

- (NSString *)description{
    return [self yy_modelDescription];
}
@end
